<?php


// we check if the user email was already in the database
include "inc/functions.php";
$email = htmlspecialchars($_REQUEST['email'], ENT_QUOTES, 'UTF-8');
$db = Samsung_Db_Oracle::getConnection();
$checkAccount = $db->execute("select count(*) as total from SAM_SUA_MEMBER where SUA_MEMBER_EMAIL = ?", $email)->fetch();
if($checkAccount['TOTAL'] != 0) echo 'false';
else echo 'true';

?>